package com.we.wecc.bk.db.model;

import java.util.Date;

public class Book {
    private Long id;

    private String name;

    private String image;

    private Double copyrightValue;

    private Double bonus;

    private Double profit;

    private Date createTime;

    private Date updateTime;

    private Integer investmentQuota;

    private Integer state;

    private Integer yearstate;

    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public Double getCopyrightValue() {
        return copyrightValue;
    }

    public void setCopyrightValue(Double copyrightValue) {
        this.copyrightValue = copyrightValue;
    }

    public Double getBonus() {
        return bonus;
    }

    public void setBonus(Double bonus) {
        this.bonus = bonus;
    }

    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getInvestmentQuota() {
        return investmentQuota;
    }

    public void setInvestmentQuota(Integer investmentQuota) {
        this.investmentQuota = investmentQuota;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getYearstate() {
        return yearstate;
    }

    public void setYearstate(Integer yearstate) {
        this.yearstate = yearstate;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}